package cn.stylefeng.guns.modular.system.model.params.paramsDTO;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.redis.core.index.PathBasedRedisIndexDefinition;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 购物车参数
 * @Author : xiaofei
 * @Date: 2019/7/18
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ShopCartDTO {
    private Long id;
    private  Long productId;
    private  Integer unitId;

    /**
     * 产品信息
     */
    private  String productName;
    private  String productModelName;
    private  String productOrderName;

    /**
     * 产品图片
     */
    private  String productPic;

    /**
     * 购买单位名称
     */
    private  String unitName;

    /**
     * 产品价格
     */
    private  BigDecimal price;

    /**
     * 添加时间
     */
    private Date addtime;

    /**
     * 购买数量
     */
    private Long amount;

    /**
     *
     */
    private boolean checked;
    private Long amout;

    private BigDecimal salsPrice;

}
